package com.stox.repository;

import java.util.List;

import com.stox.model.Scrip;

public interface ScripRepository {

	public List<Scrip> findByExchangeId(Long exchangeId);
	
	public List<Scrip> findByExchangeIdAndActive(Long exchangeId, Boolean active);
	
	public Scrip save(Scrip scrip);
	
	public Scrip saveAndFlush(Scrip scrip);
	
	public Scrip findOne(Long id);
	
}
